/*
 * This program converts inches to meters
 * for 12 feet.
 *
 * Call this program InchToMetTable.java
 * Program written by John Kim on Wed Jan  1 11:10:03 PST 2014
 */

class InchToMetTable {
    public static void main(String args[]) {
        double inches, meters;
        int counter;
        
        counter = 0;

        for(inches = 1; inches <= 12 * 12; inches++) {
            // Conversion from inches to meters.
            meters = inches / 39.37;
            
            System.out.println(inches + " inches is " + meters + " meters.");

            counter++;
            if(counter == 12) {
                // Start a new line.
                System.out.println();
                counter = 0;
            }
        }
    }
}

                
            
